package com.matt.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author cdd
 * @since 2021-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CreateStaff implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 登录账号
     */
    @ApiModelProperty(value="登录账号/手机号" ,required=true)
    @NotBlank(message = "字段不能为空")
    private String mobile;

    /**
     * 密码
     */
    @ApiModelProperty(value="密码" ,required=true)
    @NotBlank(message = "字段不能为空")
    private String password;

    /**
     * 用户名
     */
    @ApiModelProperty(value="用户昵称" )
    private String username;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value="真实姓名" )
    private String realName;


    @ApiModelProperty(value="性别0女1男" )
    private Long gender;

}
